(C) 1996 AROS - The Amiga Replacement OS
NAME
#include <proto/iffparse.h>
void SetLocalItemPurge()
SYNOPSIS
struct LocalContextItem * localItem
struct Hook * purgeHook
LOCATION
In IFFParseBase at offset 33
FUNCTION
Inserts a custom purge hook for the given local context item. The purge hook will be freed when the system wants to delete a local context item.
INPUTS
localItem
pointer to a local context item.
purgeHook
pointer to a hook sructure initialized with the purge function.
RESULT
NOTES
The purgehook must call FreeLocalItem() on the local context item after doing its own resource freeing.
EXAMPLE
BUGS
SEE ALSO
AllocLocalItem()
,
FreeLocalItem()
INTERNALS
HISTORY
03.02.1997 digulla
Iffparse.library as supplied by Nils H. Lorentzen